<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<title>[%$ESPCMS_SOFT_TITLE%]</title>
		<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_font_icon.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_style_public.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_all.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_framework.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/espcms_select.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/pageload.css" rel="stylesheet" type="text/css" />
		<link href="[%$ESPCMS_ADMIN_TEMPLATES_URL%]css/file.css" rel="stylesheet" type="text/css" />
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery-ui.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/jquery.cookie.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/md5.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/json.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/bootstrap.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/lngpack_cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_form.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_formvalidation.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_dialog.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_function.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tool.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_page.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_select_checkbox.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_batch.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_tab.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/nprogress.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/citydb.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/cityselect.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/picker_month.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/picker_time.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/fullcalendar/lib/moment.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/fullcalendar/fullcalendar.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/fullcalendar/zh-cn.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/iframeResizer.contentWindow.min.js"></script>
		<script type="text/javascript" src="[%ESPCMS_ADMIN_URL%]js/espcms_multiple.js"></script>
		<script type="text/javascript">
			$(document).ready(function () {
				banpageKey();
				$('input[type=checkbox],input[type=radio]').espcms_checkbox();

				$("[placeholder]").tooltip();

				$("#espcms_saveInfo").espcms_formvalidation({
					focusName: "#username",
					verifyURL: "[%$link.verify%]",
					verifyField: "email,mobile",
					verifyQueryString: "userid=[%$read.userid%]"
				});
				$('.espcms_pic_onlyList').picInputClear();
				$("#city_select").citySelect({
					prov: "[%if $read.province%][%$read.province%][%else%]北京[%/if%]",
					city: "[%$read.city%]",
					dist: "[%$read.district%]",
					nodata: "none"
				});
				$('#espcms_saveInfo').ajaxForm({
					type: 'POST',
					url: '[%$link.save%]',
					dataType: 'json',
					beforeSubmit: function () {
						parent.espcms_are_loading();
					},
					success: function (data) {
						parent.$("#espcms_are_loading").dialog("close");

						parent.$("body").append(data.data);
						if (data.code === 'true') {
							parent.$.espcms_sticky(data.message, {'autoclose': 3000});
							parent.frames['[%$par_iframes_name%]'].refresh('ajax_list');
							parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
						} else {
							var botton = [
								{
									text: "[%pack:botton_pack-espcms_botton_colse%]",
									class: "btn btn-lightgray",
									click: function () {
										parent.$(this).dialog("close");
										parent.$(this).espcms_window_tab('close', {'iframeName': '[%$iframes_name%]'});
									}
								}
							];
							parent.espcms_public_dialog(data.domid_name, botton, 600);
						}
						$(window).unbind('beforeunload');
					}
				});
				load_data('.data');
				load_datatime('.datetime');
				load_data_all('.date');
				load_time('.time');
				$('.espcms_dialog_link').espcms_dig();
				$('.espcms_save_cancel').espcms_window_tab('closeTab');
				load_tabclick('.tab_click');
			});
		</script>
	</head>

	<body class="espcms_style_all">
		<div class="main">
			<div class="espcms_center_content_list">

				<div class="panel">
					<div class="panel-body form_bottom_page">
						<form class="form-horizontal admin-form" id="espcms_saveInfo" action="[%$link.save%]">
							<input type="hidden" name="token_key" id="token_key" value="[%$token.token_key%]"/>
							<input type="hidden" name="token_name" id="token_name" value="[%$token.token_name%]"/>
							<input type="hidden" name="savetype" value="edit"/>
							<input type="hidden" name="userid" id="userid" value="[%$read.userid%]"/>
							<div class="section-divider mb40"><span>[%pack:member_pack-espcms_member_button_edit%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_username%]</label>
								<div class="col-sm-9 pt5">[%$read.username%]</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_email%]</label>
								<div class="col-sm-9">
									<input type="text" name="email" class="form-control" id="email" value="[%$read.email%]" placeholder="[%pack:member_pack-espcms_member_email_title%]" title="[%pack:member_pack-espcms_member_email_title%]" data-validation="^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$" data-validation-msg="[%pack:member_pack-espcms_member_email_validation_msg%]" validation-warning="[%pack:member_pack-espcms_member_email_warning_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_mobile%]</label>
								<div class="col-sm-9">
									<input type="text" name="mobile" class="form-control" id="mobile" value="[%$read.mobile%]" placeholder="[%pack:member_pack-espcms_member_mobile_title%]" title="[%pack:member_pack-espcms_member_mobile_title%]" data-validation="^1[\d]{10}$" data-validation-msg="[%pack:member_pack-espcms_member_mobile_validation_msg%]" validation-warning="[%pack:member_pack-espcms_member_mobile_warning_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_password%]</label>
								<div class="col-sm-9">
									<input type="password" name="password" class="form-control" id="password" maxlength="30" placeholder="[%pack:member_pack-espcms_member_password_title%]" title="[%pack:member_pack-espcms_member_password_title%]"  data-isvalidation="true"password-rank="2" password-rank-msg="[%pack:member_pack-espcms_member_password_rank_msg%]" data-validation-minlength="6" data-validation-maxlength="30" data-validation-msg="[%pack:member_pack-espcms_member_password_validation_msg%]" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_validation_password%]</label>
								<div class="col-sm-9">
									<input type="password" name="validation_password" class="form-control" id="validation_password" maxlength="30" placeholder="[%pack:member_pack-espcms_member_validation_password_title%]" title="[%pack:member_pack-espcms_member_validation_password_title%]" data-isvalidation="true" password-validation-field="password" data-password-validation-msg="[%pack:member_pack-espcms_member_validation_password_validation_msg%]" data-validation-minlength="6" data-validation-maxlength="30" data-validation-msg="[%pack:member_pack-espcms_member_validation_password_msg%]" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_class_rankname2%]</label>
								<div class="col-sm-4">
									<select class="selectpicker form-control" name="mcid" id="mcid" data-size="8" title="[%pack:member_pack-espcms_member_class_mcid_select_title%]" data-validation="^[\d]+$" data-validation-msg="[%pack:member_pack-espcms_member_class_mcid_select_validation_msg%]">
										[%forlist from=$member_class_list key=i%]
										<option value="[%$member_class_list[i].mcid%]" [%$member_class_list[i].selected%]>[%$member_class_list[i].rankname%]</option>
										[%/forlist%]
									</select>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_question%]</label>
								<div class="col-sm-9">
									<input type="text" name="question" class="form-control" id="question" value="[%$read.question%]" maxlength="100" placeholder="[%pack:member_pack-espcms_member_question_title%]" title="[%pack:member_pack-espcms_member_question_title%]" data-isvalidation="true" data-validation-minlength="2" data-validation-maxlength="100" data-validation-msg="[%pack:member_pack-espcms_member_question_validation_msg%]" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_answer%]</label>
								<div class="col-sm-9">
									<input type="text" name="answer" class="form-control" id="answer" value="[%$read.answer%]" maxlength="100" placeholder="[%pack:member_pack-espcms_member_answer_title%]" title="[%pack:member_pack-espcms_member_answer_title%]" data-isvalidation="true" data-validation-minlength="2" data-validation-maxlength="100" data-validation-msg="[%pack:member_pack-espcms_member_answer_validation_msg%]" />
								</div>
							</div>


							<div class="section-divider mb40"><span>[%pack:member_pack-espcms_member_str1%]</span></div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_alias%]</label>
								<div class="col-sm-9">
									<input type="text" name="alias" class="form-control" id="alias" maxlength="50" value="[%$read.alias%]" placeholder="[%pack:member_pack-espcms_member_aliase_title%]" title="[%pack:member_pack-espcms_member_aliase_title%]" data-isvalidation="true" data-validation-minlength="2" data-validation-maxlength="50" data-validation-msg="[%pack:member_pack-espcms_member_alias_validation_msg%]" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:public_pack-espcms_lable_sex_title%]</label>
								<div class="col-sm-9 pt5">
									<input type="radio" name="sex" value="1"[%if $read.sex==1%] checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_sex_1%]</span>
									<input type="radio" name="sex" value="2"[%if $read.sex==2%] checked[%/if%]/><span class="pr10">[%pack:public_pack-espcms_lable_sex_2%]</span>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_birthday%]</label>
								<div class="col-sm-9">
									<input type="text" name="birthday" class="form-control data" id="birthday" value="[%$read.birthday|espcms_timeformat(2)%]" placeholder="[%pack:member_pack-espcms_member_birthday_title%]" title="[%pack:member_pack-espcms_member_birthday_title%]" data-validation="^[\d]{4}\-[\d]{1,2}\-[\d]{1,2}$" data-isvalidation="true"  data-validation-msg="[%pack:member_pack-espcms_member_birthday_validation_msg%]"/>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_pic%]</label>
								<div class="col-sm-9" id="pic_select_list">
									<input type="hidden" name="pic" id="pic" validation="true" value="[%$read.pic%]" data-validation-botton="pic_select" data-isvalidation="true" data-validation="^[\w\.//]+$" data-validation-msg="[%pack:member_pack-espcms_member_pic_validation_msg%]" />
									[%if $read.pic%]
										<a class="btn-image espcms_dialog_link" style="display: none;" id="pic_select" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=pic&upfileType=image&selectnum=1&inputname=pic&updatediv=pic_select" data-title="[%pack:filemanage_pack-espcms_filenamage_images_dialog_title%]"></a>
										<ul class="espcms_pic_onlyList" id="pic_select_ul" input_id="pic" select_id="pic_select">
											<li>
												<p class="uploadimgWrap"><img src="[%$ESPCMS_URL%][%$read.pic%]" width="100" height="100"/></p>
												<div class="upload_file_panel" style="height: 0px;"><span class="cancel"></span></div>
											</li>
										</ul>
									[%else%]
										<a class="btn-image espcms_dialog_link" id="pic_select" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=pic&upfileType=image&selectnum=1&inputname=pic&updatediv=pic_select" data-title="[%pack:filemanage_pack-espcms_filenamage_images_dialog_title%]"></a>
									[%/if%]
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:public_pack-espcms_lable_city%]</label>
								<div class="col-sm-9">
									<div id="city_select">
										<div class="col-sm-3 p0">
											<select class="form-control prov" data-size="8" name="province"></select>
										</div>
										<div class="col-sm-3 pl5 pr0">
											<select class="form-control city" data-size="8" name="city"></select>
										</div>
										<div class="col-sm-3 pl5">
											<select class="form-control dist" data-size="8" name="district"></select>
										</div>
									</div>
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_address%]</label>
								<div class="col-sm-9">
									<input type="text" name="address" class="form-control" id="address" value="[%$read.address%]" placeholder="[%pack:member_pack-espcms_member_address%]" title="[%pack:member_pack-espcms_member_address%]" data-isvalidation="true" data-validation-minlength="5" data-validation-maxlength="200" data-validation-msg="[%pack:member_pack-espcms_member_address_validation_msg%]" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_tel%]</label>
								<div class="col-sm-9">
									<input type="text" name="tel" class="form-control" id="tel" value="[%$read.tel%]" placeholder="[%pack:member_pack-espcms_member_tel_title%]" title="[%pack:member_pack-espcms_member_tel_title%]" data-isvalidation="true" data-validation="^[\d-]{6,}$" data-validation-msg="[%pack:member_pack-espcms_member_tel_validation_msg%]" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_qq%]</label>
								<div class="col-sm-9">
									<input type="text" name="qq" class="form-control" id="qq" value="[%$read.qq%]" placeholder="[%pack:member_pack-espcms_member_qq_title%]" title="[%pack:member_pack-espcms_member_qq_title%]" data-isvalidation="true" data-validation="^[\d]{1,}$" data-validation-msg="[%pack:member_pack-espcms_member_qq_validation_msg%]" />
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-2 control-label">[%pack:member_pack-espcms_member_weixin%]</label>
								<div class="col-sm-9">
									<input type="text" name="weixin" class="form-control" id="weixin" value="[%$read.weixin%]" placeholder="[%pack:member_pack-espcms_member_weixin_title%]" title="[%pack:member_pack-espcms_member_weixin_title%]" data-isvalidation="true" data-validation="^[\w]{3,}$" data-validation-msg="[%pack:member_pack-espcms_member_weixin_validation_msg%]" />
								</div>
							</div>

							<div class="section-divider mb40"><span>[%pack:member_pack-espcms_member_str2%]</span></div>

							[%forlist from=$att_array key=i%]
								[%if $att_array[i].inputtype=='string' || $att_array[i].inputtype=='int' || $att_array[i].inputtype=='float' || $att_array[i].inputtype=='decimal'%]
								<div class="form-group [%$att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$att_array[i].typename%]</label>
									<div class="col-sm-9">
										<input type="text" name="[%$att_array[i].attrname%]" class="form-control" id="[%$att_array[i].attrname%]" value="[%$att_array[i].attrvalue%]" placeholder="[%$att_array[i].typeremark%]" title="[%$att_array[i].typeremark%]" [%if $att_array[i].isvalidate==1%] data-validation="[%$att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$att_array[i].validate_str%]" />
									</div>
								</div>
								[%/if%]

								[%if $att_array[i].inputtype=='text' || $att_array[i].inputtype=='htmltext'%]
								<div class="form-group [%$att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$att_array[i].typename%]</label>
									<div class="col-sm-9">
										<textarea name="[%$att_array[i].attrname%]" class="form-control" style="width:100%;height:[%$att_array[i].attrrow%]px" id="[%$att_array[i].attrname%]" placeholder="[%$att_array[i].typeremark%]" title="[%$att_array[i].typeremark%]" [%if $att_array[i].isvalidate==1%] data-validation="[%$att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$att_array[i].validate_str%]">[%$att_array[i].attrvalue%]</textarea>
									</div>
								</div>
								[%/if%]

								[%if $att_array[i].inputtype=='img'%]
								<div class="form-group [%$att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$att_array[i].typename%]</label>
									<div class="col-sm-9" id="[%$att_array[i].attrname%]_select_list">
										 <input type="hidden" name="[%$att_array[i].attrname%]" id="[%$att_array[i].attrname%]" value="[%$att_array[i].attrvalue%]" validation="true" data-isvalidation="true" data-validation-botton="[%$att_array[i].attrname%]_select" data-validation="^[\w\.//]+$" data-validation-msg="[%$att_array[i].validate_str%]" />
										 [%if $att_array[i].attrvalue%]
										 <a class="btn-image espcms_dialog_link" id="[%$att_array[i].attrname%]_select" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=pic&upfileType=image&selectnum=1&inputname=[%$att_array[i].attrname%]&updatediv=[%$att_array[i].attrname%]_select" data-title="[%pack:filemanage_pack-espcms_filenamage_images_dialog_title%]" style="display: none;"></a>
										 <ul class="espcms_pic_onlyList" id="[%$att_array[i].attrname%]_ul" input_id="[%$att_array[i].attrname%]" select_id="[%$att_array[i].attrname%]_select">
											 <li>
												 <p class="uploadimgWrap"><img src="[%$ESPCMS_URL%][%$att_array[i].attrvalue%]" width="100" height="100"/></p>
												 <div class="upload_file_panel" style="height: 0px;"><span class="cancel"></span></div>
											 </li>
										 </ul>
										 [%else%]
										 <a class="btn-image espcms_dialog_link" id="[%$att_array[i].attrname%]_select" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=pic&upfileType=image&selectnum=1&inputname=[%$att_array[i].attrname%]&updatediv=[%$att_array[i].attrname%]_select" data-title="[%pack:filemanage_pack-espcms_filenamage_images_dialog_title%]"></a>
										 [%/if%]
									</div>
								</div>
								[%/if%]

								[%if $att_array[i].inputtype=='addon'%]
								<div class="form-group [%$att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$att_array[i].typename%]</label>
									<div class="col-sm-9">
										<div class="input-group">
											<input type="text" name="[%$att_array[i].attrname%]" class="form-control" id="[%$att_array[i].attrname%]" value="[%$att_array[i].attrvalue%]" placeholder="[%$att_array[i].typeremark%]" title="[%$att_array[i].typeremark%]" data-display-type="top" [%if $att_array[i].isvalidate==1%] data-validation="[%$att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$att_array[i].validate_str%]" />
											<span class="input-group-btn">
												[%if $att_array[i].inputtype=='addon'%]
												<button type="button" class="btn btn-orange espcms_dialog_link" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=inputfile&upfileType=file&selectnum=1&inputname=[%$att_array[i].attrname%]" data-title="[%pack:filemanage_pack-espcms_filenamage_file_dialog_title%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:filemanage_pack-espcms_filenamage_botton_select_file%]</button>
												[%/if%]
												[%if $att_array[i].inputtype=='video'%]
												<button type="button" class="btn btn-orange espcms_dialog_link" data-w="830px" data-h="540px" data-url="[%$fileDialog%]&displaytype=inputfile&upfileType=mover&selectnum=1&inputname=[%$att_array[i].attrname%]" data-title="[%pack:filemanage_pack-espcms_filenamage_video_dialog_title%]"><i class="espcms_icon_fa espcms_icon_fa espcms_icon_fa-clipboard"></i>[%pack:filemanage_pack-espcms_filenamage_botton_select_moverfile%]</button>
												[%/if%]
											</span>
										</div>
									</div>
								</div>
								[%/if%]

								[%if $att_array[i].inputtype=='datetime' || $att_array[i].inputtype=='date'%]
								<div class="form-group [%$att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$att_array[i].typename%]</label>
									<div class="col-sm-9">
										<input type="text" name="[%$att_array[i].attrname%]" class="form-control [%$att_array[i].inputtype%]" id="[%$att_array[i].attrname%]" value="[%$att_array[i].attrvalue%]" placeholder="[%$att_array[i].typeremark%]" title="[%$att_array[i].typeremark%]" [%if $att_array[i].isvalidate==1%] data-validation="[%$att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$att_array[i].validate_str%]"/>
									</div>
								</div>
								[%/if%]

								[%if $att_array[i].inputtype=='select'%]
								<div class="form-group [%$att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$att_array[i].typename%]</label>
									<div class="col-sm-9">
										<select class="selectpicker form-control" name="[%$att_array[i].attrname%]" id="[%$att_array[i].attrname%]" data-size="8" [%if $att_array[i].isvalidate==1%]data-validation="[%$att_array[i].validatetext%]"[%/if%] data-validation-msg="[%$att_array[i].validate_str%]" title="[%pack:public_pack-espcms_select_title%][%$att_array[i].typename%]">
											[%forlist from=$att_array[i].attrvalue key=ii%]
											<option value="[%$att_array[i].attrvalue[ii].name%]" [%$att_array[i].attrvalue[ii].selected%]>[%$att_array[i].attrvalue[ii].name%]</option>
											[%/forlist%]
										</select>
									</div>
								</div>
								[%/if%]

								[%if $att_array[i].inputtype=='radio'%]
								<div class="form-group [%$att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$att_array[i].typename%]</label>
									<div class="col-sm-9 pt6">
										[%forlist from=$att_array[i].attrvalue key=ii%]
										<input type="radio" name="[%$att_array[i].attrname%]" value="[%$att_array[i].attrvalue[ii].name%]" [%if $att_array[i].attrvalue[ii].selected=='selected'%]checked[%/if%]/><span class="pr10">[%$att_array[i].attrvalue[ii].name%]</span>
										[%/forlist%]
									</div>
								</div>
								[%/if%]

								[%if $att_array[i].inputtype=='checkbox'%]
								<div class="form-group [%$att_array[i].attrname%]">
									<label class="col-sm-2 control-label">[%$att_array[i].typename%]</label>
									<div class="col-sm-9 pt6">
										[%forlist from=$att_array[i].attrvalue key=ii%]
										<input type="checkbox" name="[%$att_array[i].attrname%][]" value="[%$att_array[i].attrvalue[ii].name%]" [%if $att_array[i].attrvalue[ii].selected=='selected'%]checked[%/if%]/><span class="pr10">[%$att_array[i].attrvalue[ii].name%]</span>
										[%/forlist%]
									</div>
								</div>
								[%/if%]
							[%/forlist%]

							<div class="form_button">
								<button type="submit" class="btn btn-green min-w-150" formmethod="POST">[%pack:botton_pack-espcms_botton_save_ok%]</button>
								<button type="button" class="btn btn-lightgray min-w-150 espcms_save_cancel">[%pack:botton_pack-espcms_botton_save_cancel_edit%]</button>
							</div>
						</form>
					</div>
				</div>

			</div>
		</div>
		[%link file="public/load.html"%]
		[%link file="public/load_height.html"%]
	</body>
</html>
